import java.awt.Image;
import javax.swing.*;



public class IntroImageHolder extends JPanel{
	
	public IntroImageHolder(){
		JLabel display = new JLabel();
		ImageIcon icon = new ImageIcon("C:\\Users\\Akbar\\Desktop\\oregontrail.gif");
		Image img = icon.getImage();
		Image newimg = img.getScaledInstance(400, 400,  java.awt.Image.SCALE_SMOOTH);  
		Icon newIcon = new ImageIcon(newimg);  
		setLocation(150,160);
		
		display.setIcon(icon);
		setVisible(true);
	}
	
	
}
